package com.example.domain;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * @author 袁小弘
 * @describe 培训中心学生管理————就业推荐类
 * @date 2019-12-18 14:36
 */
@Entity
@Table(name = "recommend")
public class Recommend implements Serializable {

    private static final long serialVersionUID = 290195454915531636L;

    @Id
    @GeneratedValue
    @Column(name = "recommend_Id")
    private Integer recommendId;// 就业推荐ID

    @Column(name = "referrerName")
    private String referrerName;// 推荐人

    @Column(name = "student_Id")
    private Integer studentId;// 学生ID

    @Column(name = "enterpriseName", length = 32)
    private String enterpriseName;// 企业名称

    @Column(name = "enterpriseTelphone", length = 11)
    private String enterpriseTelphone;// 企业电话

    @Column(name = "status", length = 10)
    private String status;// 入职状态

    @Column(name = "comment", length = 255)
    private String comment;// 备注说明

    @Column(name = "recordTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp recordTime;// 创建记录时间

    @Column(name = "updateTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp updateTime;// 更新记录时间

    public Recommend() {
        // 无参构造
    }

    public Integer getRecommendId() {
        return recommendId;
    }

    public void setRecommendId(Integer recommendId) {
        this.recommendId = recommendId;
    }

    public String getReferrerName() {
        return referrerName;
    }

    public void setReferrerName(String referrerName) {
        this.referrerName = referrerName;
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getEnterpriseTelphone() {
        return enterpriseTelphone;
    }

    public void setEnterpriseTelphone(String enterpriseTelphone) {
        this.enterpriseTelphone = enterpriseTelphone;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Timestamp getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(Timestamp recordTime) {
        this.recordTime = recordTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Recommend [recommendId=" + recommendId + ", referrerName=" + referrerName + ", studentId=" + studentId
                + ", enterpriseName=" + enterpriseName + ", enterpriseTelphone=" + enterpriseTelphone + ", status="
                + status + ", comment=" + comment + ", recordTime=" + recordTime + ", updateTime=" + updateTime + "]";
    }
}
